<?php

namespace app\admin\controller;

use think\Controller;
use think\Db;
class Test extends Controller
{
    //
    public function test(){
        $data=Db::table('user')->select();
        $this->view->engine->layout(false);
        // dump($data);
        return $this->fetch('test',['list'=>$data]);
    }
}
